package cn.hd01.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import cn.hd01.repository.entity.DistributorDetails;

@Repository
public interface DistributorDetailsRepository extends JpaRepository<DistributorDetails, Integer> {
	DistributorDetails findByDistributorId(Integer distributorId);
	
	DistributorDetails findByCode(String code);
}
